import { Unit } from "../types"

export function initUnit(unit: Unit) {
  unit.columns = []
  unit.selectedRows = []
  unit.keyword = ''
  unit.searchData = {}
  unit.orderData = {}

  return unit
}